// 标签引擎相关接口
import request from '@/utils/http'
// 增加场景
export const addScene = (params) => {
  return request(
    {
      method: 'POST',
      url: 'lc-tag/scene/add'
    },
    params
  )
}

// 枚举数据字典查询
export const dictEnum = (params) => {
  return request(
    {
      method: 'GET',
      url: 'lc-tag/gen/dict/enum'
    },
    params
  )
}

// 增加/编辑元数据
export const addOrUpdateMetaScene = (params) => {
  return request(
    {
      method: 'PUT',
      url: 'lc-tag/scene/meta'
    },
    params
  )
}
// 删除元数据
export const deleteSceneMetaData = (params) => {
  return request(
    {
      method: 'DELETE',
      url: `/lc-tag/scene/metaData/${params.metaDataNo}`
    },
    params
  )
}
